package com.lagou.model;

public class userMessage implements java.io.Serializable {

    private static final long serialVersionUID = -2090901881407741696L;

    private String type; // 消息的类型代表具体的业务
    private user user;   // 消息的具体内容

    public userMessage() {
    }

    public userMessage(String type, user user) {
        this.type = type;
        this.user = user;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public user getUser() {
        return user;
    }

    public void setUser(user user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "UserMessage{" +
                "type='" + type + '\'' +
                ", user=" + user +
                '}';
    }


}
